﻿using D.Medicalcare.ErrorCode;
using MediatR;

namespace D.Medicalcare.Write.API.Application.Commands.AccountbalanceCommand
{
    public class CreateAccountbalanceCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 主键，自增
        /// </summary>
        public int AccountbalanceId { get; set; }
        /// <summary>
        /// 关联患者ID（可选）
        /// </summary>
        public int? PatientId { get; set; }

        /// <summary>
        /// 当前余额
        /// </summary>
        public double? Balance { get; set; }

        /// <summary>
        /// 账户状态（正常/冻结/注销等）
        /// </summary>
        public string? Status { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
